package org.momo.rpc.circuitbreaker;

import lombok.Getter;

@Getter
public enum CircuitBreakerState {
    CLOSED(0),
    HALF_OPEN(1),
    OPEN(2);

    private final int state;

    CircuitBreakerState(int state) {
        this.state = state;
    }
}
